package com.zwz.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.Date;
import java.util.Map;

@Data
public class EnterpriseLead {
    @JsonProperty("belong_to_type")
    private Integer ownershipType;

    @JsonProperty("belong_to_id")
    private String ownershipId;

    @JsonProperty("belong_to_object")
    private Map<String, Object> ownershipDetails;

    @JsonProperty("enterprise_name")
    private String companyName;

    @JsonProperty("entity_type")
    private String entityCategory;

    @JsonProperty("permission")
    private Integer accessLevel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty("join_time")
    private Date registrationDate;

    // 其他字段处理...
}